<!DOCTYPE html>
<!--[if lt IE 7 ]><html lang="en" class="ie6 ielt7 ielt8 ielt9"><![endif]--><!--[if IE 7 ]><html lang="en" class="ie7 ielt8 ielt9"><![endif]--><!--[if IE 8 ]><html lang="en" class="ie8 ielt9"><![endif]--><!--[if IE 9 ]><html lang="en" class="ie9"> <![endif]--><!--[if (gt IE 9)|!(IE)]><!-->
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml"><!--<![endif]-->
	<head>
		<meta charset="utf-8">
		<title>Profile</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link href="/css/bootstrap1.min.css" rel="stylesheet">
		<link href="/css/bootstrap1-responsive.min.css" rel="stylesheet">
		<link href="/css/site.css" rel="stylesheet">
		<link href="/css/my.css" rel="stylesheet">
		<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
	</head>
	<body>
		<div class="container">
			<div th:insert="~{Common/ownCommon::topbar(active='op')}"></div>
			<div class="row">
				<div th:insert="~{Common/ownCommon::sidebar(active='op')}"></div>

				<div class="span9">
					<h1>
						编辑您的个人信息
					</h1>
					<form id="edit-profile" class="form-horizontal" th:action="@{/ownProfile}" method="post">
						<fieldset>
							<legend>我的信息</legend>
							<div class="control-group">
								<label class="control-label" for="input01">姓名</label>
								<div class="controls">
									<input name="name" type="text" readonly="readonly" class="input-xlarge" id="input01" th:value="${prof.get('name')}" />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="input01">住址</label>
								<div class="controls">
									<input name="address" type="text" class="input-xlarge" id="input02" th:value="${prof.get('address')}" />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="input01">联系方式</label>
								<div class="controls">
									<input name="phone" type="text" class="input-xlarge" id="input03" th:value="${prof.get('phone')}" />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="input01">账户余额</label>
								<div class="controls">
									<input name="balance" type="text" readonly="readonly" class="input-xlarge" id="input04" th:value="${prof.get('balance')}" />
								</div>
							</div>

							<div class="form-actions">
								<button type="submit" class="btn btn-primary">保存更改</button>
								<button type="reset" class="btn">取消</button>
								<button class="btn"> <a href="#"> 余额充值 </a> </button>
							</div>
						</fieldset>
					</form>
				</div>

			</div>
		</div>
		<script src="/js/jquery.min.js"></script>
		<script src="/js/bootstrap.min.js"></script>
		<script src="/js/site.js"></script>
	</body>
</html>
